package com.huangsm.cloud.cloudeurekaserver.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 实体类
 * @author huangsm
 * @version V1.0
 */
@Data
@TableName(value = "user")
public class User {

    @NotNull(message = "id不能为空")
    private Long id;
    private String name;
    private Integer age;
    private String email;
}
